\hypertarget{classDAQ_1_1AsLoggerFactory}{}\section{D\+AQ\+:\+:As\+Logger\+Factory Class Reference}
\label{classDAQ_1_1AsLoggerFactory}\index{D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}}


异步\+Logger工厂  




{\ttfamily \#include $<$loggerfactory.\+hpp$>$}



Inheritance diagram for D\+AQ\+:\+:As\+Logger\+Factory\+:
% FIG 0


Collaboration diagram for D\+AQ\+:\+:As\+Logger\+Factory\+:
% FIG 1
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDAQ_1_1AsLoggerFactory_a3eea75d65f6ed55dcf02c326c825fde1}\label{classDAQ_1_1AsLoggerFactory_a3eea75d65f6ed55dcf02c326c825fde1}} 
using {\bfseries sptr} = std\+::shared\+\_\+ptr$<$ \hyperlink{classDAQ_1_1AsLoggerFactory}{As\+Logger\+Factory} $>$
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
std\+::list$<$ std\+::string $>$ \hyperlink{classDAQ_1_1AsLoggerFactory_abf012054eb30ba4005c67c662d88b669}{get\+All\+Logger\+Name} ()
\begin{DoxyCompactList}\small\item\em get\+All\+Logger\+Name 返回已经有的logger的name \end{DoxyCompactList}\item 
As\+Logger\+::sptr \hyperlink{classDAQ_1_1AsLoggerFactory_a2c16870de91b9892909b302f819ff90e}{initialize} (const std\+::string \&name=\char`\"{}root\char`\"{}, const Log\+Level level=Log\+Level\+::\+T\+R\+A\+CE, size\+\_\+t size=256)
\begin{DoxyCompactList}\small\item\em initialize 初始化日志logger \end{DoxyCompactList}\item 
void \hyperlink{classDAQ_1_1AsLoggerFactory_aec800700a5d059c0f10574bf2fdd5784}{init\+From\+File} (const std\+::string \&filename)
\begin{DoxyCompactList}\small\item\em init\+From\+File 从文件初始化logger \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classDAQ_1_1AsLoggerFactory_ac1b2f014fb7252e3942f4f3632354911}\label{classDAQ_1_1AsLoggerFactory_ac1b2f014fb7252e3942f4f3632354911}} 
Logger\+::sptr {\bfseries get\+First\+Logger} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classDAQ_1_1AsLoggerFactory}{As\+Logger\+Factory} $\ast$ \hyperlink{classDAQ_1_1AsLoggerFactory_abdde728a3f51790040673fbdeb2ecf5e}{instance} ()
\begin{DoxyCompactList}\small\item\em instance 返回异步logger工厂实例 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
异步\+Logger工厂 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classDAQ_1_1AsLoggerFactory_abf012054eb30ba4005c67c662d88b669}\label{classDAQ_1_1AsLoggerFactory_abf012054eb30ba4005c67c662d88b669}} 
\index{D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}!get\+All\+Logger\+Name@{get\+All\+Logger\+Name}}
\index{get\+All\+Logger\+Name@{get\+All\+Logger\+Name}!D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}}
\subsubsection{\texorpdfstring{get\+All\+Logger\+Name()}{getAllLoggerName()}}
{\footnotesize\ttfamily std\+::list$<$std\+::string$>$ D\+A\+Q\+::\+As\+Logger\+Factory\+::get\+All\+Logger\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



get\+All\+Logger\+Name 返回已经有的logger的name 

\begin{DoxyReturn}{Returns}
logger\+Names 
\end{DoxyReturn}
\mbox{\Hypertarget{classDAQ_1_1AsLoggerFactory_aec800700a5d059c0f10574bf2fdd5784}\label{classDAQ_1_1AsLoggerFactory_aec800700a5d059c0f10574bf2fdd5784}} 
\index{D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}!init\+From\+File@{init\+From\+File}}
\index{init\+From\+File@{init\+From\+File}!D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}}
\subsubsection{\texorpdfstring{init\+From\+File()}{initFromFile()}}
{\footnotesize\ttfamily void D\+A\+Q\+::\+As\+Logger\+Factory\+::init\+From\+File (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{filename }\end{DoxyParamCaption})}



init\+From\+File 从文件初始化logger 


\begin{DoxyParams}{Parameters}
{\em filename} & 文件名 \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classDAQ_1_1AsLoggerFactory_a2c16870de91b9892909b302f819ff90e}\label{classDAQ_1_1AsLoggerFactory_a2c16870de91b9892909b302f819ff90e}} 
\index{D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}!initialize@{initialize}}
\index{initialize@{initialize}!D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}}
\subsubsection{\texorpdfstring{initialize()}{initialize()}}
{\footnotesize\ttfamily As\+Logger\+::sptr D\+A\+Q\+::\+As\+Logger\+Factory\+::initialize (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{name = {\ttfamily \char`\"{}root\char`\"{}},  }\item[{const Log\+Level}]{level = {\ttfamily LogLevel\+:\+:TRACE},  }\item[{size\+\_\+t}]{size = {\ttfamily 256} }\end{DoxyParamCaption})}



initialize 初始化日志logger 


\begin{DoxyParams}{Parameters}
{\em name} & loggr名 \\
\hline
{\em level} & 输出日志等级 \\
\hline
{\em size} & 异步buffer大小\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
异步logger的智能指针 
\end{DoxyReturn}
\mbox{\Hypertarget{classDAQ_1_1AsLoggerFactory_abdde728a3f51790040673fbdeb2ecf5e}\label{classDAQ_1_1AsLoggerFactory_abdde728a3f51790040673fbdeb2ecf5e}} 
\index{D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}!instance@{instance}}
\index{instance@{instance}!D\+A\+Q\+::\+As\+Logger\+Factory@{D\+A\+Q\+::\+As\+Logger\+Factory}}
\subsubsection{\texorpdfstring{instance()}{instance()}}
{\footnotesize\ttfamily static \hyperlink{classDAQ_1_1AsLoggerFactory}{As\+Logger\+Factory}$\ast$ D\+A\+Q\+::\+As\+Logger\+Factory\+::instance (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



instance 返回异步logger工厂实例 

\begin{DoxyReturn}{Returns}
As\+Logger\+Factory$\ast$ 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
loggerfactory.\+hpp\end{DoxyCompactItemize}
